#include <SFML/Graphics.hpp>
#include <vector>
#include "ManagerBase.h"


class GameEntity;
class WindowManager;
class LevelManager;
class Node;

class EntityManager : ManagerBase
{
public:
	EntityManager();
	~EntityManager();

	void Setup();

	void Tick(float DeltaTime);
	void OnInput(sf::Event::KeyEvent* pKeyEvent, bool keyDown);

	void AddPlayer(int startingNodeID);
	void AddEntity(int startingNodeID);

private:
	WindowManager* m_pWindowManager;
	LevelManager* m_pLevelManager;

	std::vector<GameEntity*> m_entityMap;
};